home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / recent / gms_pi.lha / Pictures / pic_data.c < prev    next >
C/C++ Source or Header  |  1998-06-21  |  2KB  |  49 lines

  1.  
  2. #define DPKNOBASE 1
  3.  
  4. #include <proto/dpkernel.h>
  5.  
  6. #define PICMOD_VERSION  1
  7. #define PICMOD_REVISION 1
  8.  
  9. extern BYTE ModAuthor[];
  10. extern BYTE ModDate[];
  11. extern BYTE ModCopyright[];
  12. extern BYTE ModName[];
  13.  
  14. extern LIBFUNC LONG (CMDInit)(mreg(__a0) struct Module *, mreg(__a1) APTR DPKBase,
  15.                      mreg(__a2) struct GVBase *, mreg(__d0) LONG dpkVersion,
  16.                      mreg(__d1) LONG dpkRevision);
  17. extern LIBFUNC void (CMDClose)(mreg(__a0) struct Module *);
  18. extern LIBFUNC LONG (CMDExpunge)(void);
  19. extern LIBFUNC LONG (CMDOpen)(mreg(__a0) struct Module *);
  20.  
  21. struct ModHeader ModHeader = {
  22.   MODULE_HEADER_V1, /* Version of this structure */
  23.   CMDInit,          /* Init() */
  24.   CMDClose,         /* Close() */
  25.   CMDExpunge,       /* Expunge() */
  26.   JMP_LVO,          /* Type of module table to be generated for our own use */
  27.   0,                /* Reserved */
  28.   ModAuthor,        /* Author that wrote the module */
  29.   0,                /* Pointer to function list */
  30.   CPU_68000,        /* The type of CPU that this module is compiled for */
  31.   PICMOD_VERSION,   /* Version of this module */
  32.   PICMOD_REVISION,  /* Revision of this module */
  33.   DPKVersion,       /* Required DPK Version */
  34.   DPKRevision,      /* Required DPK Revision */
  35.   CMDOpen,          /* Open() */
  36.   0,                /* Reserved */
  37.   ModCopyright,     /* Copyright and Company information */
  38.   ModDate,          /* The date of module compilation */
  39.   ModName,          /* The name of this module */
  40.   JMP_LVO,          /* The dpkernel jump table that we want */
  41.   0                 /* Reserved */
  42. };
  43.  
  44. APTR DPKBase;
  45. struct GVBase    *GVBase;
  46. struct SysObject *PicObject;
  47. struct Module    *PictureMod;
  48.  
  49.